package com.example.wujinapi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.wujinapi.entity.Firsttype;
import com.example.wujinapi.entity.Secondtype;

import java.util.List;

/**
 * (Secondtype)表服务接口
 *
 * @author makejava
 * @since 2023-07-15 17:34:09
 */
public interface SecondtypeService extends IService<Secondtype> {
    void addSecondtype(Secondtype secondtype);
    void updateFirstClass(int firstClassId,String beforName,String firstClassName);
    void deleteSecondtype(int dataId);
    List<Secondtype> getSecondtypes();
    List<Secondtype> getSecondtypesByFirstId(int firstId);
}

